<script>
	import {getToken} from "./util/auth.js"
	export default {
		onLaunch: function() {
			console.log('App Launch')
		let token=getToken()
		if(!token){
			uni.reLaunch({
				url:'/pages/login/first'
			})
			
		}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>
<style>
	/*每个页面公共css */
	view{
		font-size: 28rpx;
	}
</style>
